-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Cleaning up old cruft #5068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaning up old cruft #5068
Conversation
@lafriks Was the |
@bkcsoft this isn't ready for lgtm - it's passing test due to gorilla being used by xormstore (and goth?). The thing I removed may actually be a necessary hack to prevent memory leaks in the oauth2 flow. Awaiting feedback. |
I think the lgtm label thing is automated |
case setting.FCGI: | ||
listener, err := net.Listen("tcp", listenAddr) | ||
if err != nil { | ||
log.Fatal(4, "Failed to bind %s", listenAddr, err) | ||
} | ||
defer listener.Close() | ||
err = fcgi.Serve(listener, context2.ClearHandler(m)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
context2.ClearHandler()
is used for to prevent memory leaks. I think it may still be needed.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you for your contributions. |
This pull request has been automatically closed because of inactivity. You can re-open it if needed. |
Re: #5066
gorilla/context